#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int main()
{
	int a = 0;
	int b = 0;
	while (scanf("%d %d", &a, &b) == 2)
	{
		int c = a + b;
		printf("%d\n", c);
	}
	

	while (scanf("%d %d", &a, &b) != EOF)
	{
		int c = a + b;
		printf("%d\n", c);
	}

	return 0;
}
